
pub type StdBoxError = Box<dyn std::error::Error + Send + Sync>;
pub type IResult<V = ()> = Result<V, StdBoxError>;

pub fn get_error<V>(msg: &str) -> IResult<V> {
    Err(msg)?
}

pub fn get_error2<V>(msg: String) -> IResult<V> {
    Err(msg.as_str())?
}